﻿using System;

namespace EpiNEXT.Services.Validation.Functions
{
    public sealed class CurrentUser : FunctionBase
    {
        public CurrentUser()
            : base()
        {
        }

        public override object Execute(Record record)
        {
            // TODO: Find a way to implement this in a PCL that targets WP8, W8 and NET 451
            return String.Empty;//System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
        }
    }
}
